import random

categories = {
    "expression": [
        "joyful smile","serious and focused look","surprised wide-eyed expression",
        "gentle and calm face","mischievous grin","shy blushing face",
        "confident smirk","angry frown","tearful sad look","dreamy gaze"
    ],
    "skin_tone": [
        "fair porcelain skin","warm tan skin","deep brown skin","golden sun-kissed skin",
        "pale cool-toned skin","olive-toned skin","freckled fair skin",
        "rosy pinkish skin","ash-grey fantasy skin","bluish cold-toned skin"
    ],
    "hair_color": [
        "jet black hair","platinum blonde hair","fiery red hair","chestnut brown hair",
        "silver-gray hair","pastel pink hair","deep navy blue hair","emerald green hair",
        "gradient rainbow hair","pure white hair"
    ],
    "action": [
        "waving at someone","holding a cup of coffee","playing a guitar","reading a book",
        "taking a photo with a phone","painting on a canvas","typing on a laptop",
        "dancing gracefully","running forward energetically","meditating in stillness"
    ],
    "clothing": [
        "elegant evening gown","casual t-shirt and jeans","traditional kimono",
        "futuristic armored suit","cozy oversized sweater","business formal suit",
        "sporty tracksuit","gothic black dress","bohemian layered outfit","medieval knight armor"
    ],
    "headwear": [
        "wide-brimmed sun hat","stylish fedora","sporty baseball cap","ornate crown",
        "knitted beanie","futuristic visor","floral wreath","cowboy hat","beret","motorcycle helmet"
    ],
    "glasses": [
        "round vintage glasses","sleek modern sunglasses","frameless clear glasses",
        "cat-eye glasses","oversized fashion shades","steampunk goggles",
        "aviator sunglasses","square-rimmed glasses","neon glowing glasses","monocle"
    ],
    "background": [
        "busy urban street at night","quiet library with wooden shelves","beach with ocean waves",
        "mountain meadow with flowers","futuristic neon-lit city","snowy forest clearing",
        "desert with sand dunes","ancient temple ruins","starry outer space scene","underwater coral reef"
    ],
    "camera_angle": [
        "close-up portrait","over-the-shoulder view","low-angle shot","high-angle drone shot",
        "candid street shot","wide-angle landscape framing","fisheye lens distortion",
        "extreme close-up of the eyes","three-quarter angle portrait","first-person POV shot"
    ],
    "photo_texture": [
        "grainy vintage film style","sharp high-resolution clarity","soft dreamy bokeh",
        "faded Polaroid effect","glossy magazine aesthetic","matte pastel tone finish",
        "cinematic HDR effect","sepia retro tones","glitch digital distortion","watercolor painting effect"
    ]
}

def generate_prompt():
    return (
        f"A photo of a {random.choice(categories['skin_tone'])} person "
        f"with {random.choice(categories['hair_color'])} and a {random.choice(categories['expression'])} expression, "
        f"{random.choice(categories['action'])}, wearing {random.choice(categories['clothing'])}, "
        f"with {random.choice(categories['headwear'])} and {random.choice(categories['glasses'])}, "
        f"set in {random.choice(categories['background'])}, "
        f"captured from a {random.choice(categories['camera_angle'])} perspective, "
        f"with {random.choice(categories['photo_texture'])}."
    )

# 示例生成
for _ in range(3):
    print(generate_prompt())
